home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
util
/
gnu
/
textutils_1_3.LHA
/
textutils-1.3
/
cat
/
pr.1
< prev
next >
Wrap
Text File
|
1992-09-22
|
5KB
|
133 lines
PR(1L) MISC. REFERENCE MANUAL PAGES PR(1L)
NAME
pr - convert text files for printing
SYNOPSIS
pr [+PAGE] [-COLUMN] [-abcdfFmrtv] [-e[in-tab-char[in-tab-
width]]] [-h header] [-i[out-tab-char[out-tab-width]]] [-l
page-length] [-n[number-separator[digits]]] [-o left-margin]
[-s[column-separator]] [-w page-width] [file...]
DESCRIPTION
This manual page documents the GNU version of pr. pr prints
on the standard output a paginated and optionally mul-
ticolumn copy of the text files given on the command line,
or of the standard input if no files are given or when the
file name `-' is encountered. Form feeds in the input cause
page breaks in the output.
OPTIONS
+_P_A_G_E
Begin printing with page _P_A_G_E.
-_C_O_L_U_M_N
Produce _C_O_L_U_M_N-column output and print columns down.
The column width is automatically decreased as _C_O_L_U_M_N
increases; unless you use the -_w option to increase the
page width as well, this option might cause some
columns to be truncated.
-_a Print columns across rather than down.
-_b Balance columns on the last page.
-_c Print control characters using hat notation (e.g.,
`^G'); print other unprintable characters in octal
backslash notation.
-_d Double space the output.
-_e[_i_n-_t_a_b-_c_h_a_r[_i_n-_t_a_b-_w_i_d_t_h]]
Expand tabs to spaces on input. Optional argument _i_n-
_t_a_b-_c_h_a_r is the input tab character, default tab.
Optional argument _i_n-_t_a_b-_w_i_d_t_h is the input tab
character's width, default 8.
-_F, -_f
Use a formfeed instead of newlines to separate output
pages.
-_h _h_e_a_d_e_r
Replace the filename in the header with the string
_h_e_a_d_e_r.
Sun Release 4.1 Last change: 1
PR(1L) MISC. REFERENCE MANUAL PAGES PR(1L)
-_i[_o_u_t-_t_a_b-_c_h_a_r[_o_u_t-_t_a_b-_w_i_d_t_h]]
Replace spaces with tabs on output. Optional argument
_o_u_t-_t_a_b-_c_h_a_r is the output tab character, default tab.
Optional argument _o_u_t-_t_a_b-_w_i_d_t_h is the output tab
character's width, default 8.
-_l _p_a_g_e-_l_e_n_g_t_h
Set the page length to _p_a_g_e-_l_e_n_g_t_h lines. The default
is 66. If _p_a_g_e-_l_e_n_g_t_h is less than 10, the headers and
footers are omitted, as if the -_t option had been
given.
-_m Print all files in parallel, one in each column.
-_n[_n_u_m_b_e_r-_s_e_p_a_r_a_t_o_r[_d_i_g_i_t_s]]
Precede each column with a line number; with parallel
files, precede each line with a line number. Optional
argument _n_u_m_b_e_r-_s_e_p_a_r_a_t_o_r is the character to print
after each number, default tab. Optional argument
_d_i_g_i_t_s is the number of digits per line number, default
5.
-_o _l_e_f_t-_m_a_r_g_i_n
Offset each line with a margin _l_e_f_t-_m_a_r_g_i_n spaces wide.
The total page width is this offset plus the width set
with the -_w option.
-_r Do not print a warning message when an argument file
cannot be opened. Failure to open a file still makes
the exit status nonzero, however.
-_s[_c_o_l_u_m_n-_s_e_p_a_r_a_t_o_r]
Separate columns by the single character _c_o_l_u_m_n-
_s_e_p_a_r_a_t_o_r, default tab, instead of spaces.
-_t Do not print the 5-line header and the 5-line trailer
that are normally on each page, and do not fill out the
bottoms of pages (with blank lines or formfeeds).
-_v Print unprintable characters in octal backslash nota-
tion.
-_w _p_a_g_e-_w_i_d_t_h
Set the page width to _p_a_g_e-_w_i_d_t_h columns. The default
is 72.
Sun Release 4.1 Last change: 2